package com.zx.wx;

import com.alibaba.fastjson.JSON;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;


@SuppressWarnings({ "unchecked", "rawtypes" })
public class parameter
{
//    key均为appidappsecret
	public static Map<String,String> access_token=null;
    
    public static Map<String,String> access_token_update_time=null;
    
    public static Map<String,String> api_ticket=null;
    
    public static Map<String,String> api_ticket_update_time=null;
    
    static{
    	access_token=new ConcurrentHashMap();
    	access_token_update_time=new ConcurrentHashMap();
    	api_ticket=new ConcurrentHashMap();
    	api_ticket_update_time=new ConcurrentHashMap();
    }
    
    public final String Token = "1RuOuJT";
    public final String CorpID = "wx59782f7a06d55379";
    public final String EncodingAESKey = "kerdQWcEdNqlS0XFVBX9fna42JzC4lJi1Blkliyzgxm";
	public static Map<Object,Object> jsonToMap(String json){
			return JSON.parseObject(json, Map.class);
    }
}
